extends layout
append scripts
    script.
        //- 有了 jQuery, 这些都很简单了
        var x = document.getElementById("myBtn")
        x.addEventListener("click", displayDate);
        x.addEventListener("mouseover", displayDate);
        x.addEventListener("mouseout", displayDate);  // mousedown, mouse up
        function displayDate() { console.log('hello'); }
        window.addEventListener("resize", function(){ console.log('window resize'); });
block content
    button#myBtn 点我
